package 对象之多态.抽象类.demo02;


import 对象之继承.demo02.Animal;


public class Cat extends Animal {
    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }

    @Override
    public void sleep() {
        System.out.println("猫躺着睡");
    }
}
